package com.chinasoft.class6.group2;

import com.chinasoft.main.TrueWord;

import java.util.ArrayList;
import java.util.List;
import java.util.Random;

public class HuangHaoZhe implements TrueWord {
    List<String> wordlist = new ArrayList<>();
    Random rand = new Random();

    public HuangHaoZhe() {
        wordlist.add("我要看阅兵！");
        wordlist.add("加强长夜月！");
        wordlist.add("堵桥来，全家福自备");
    }

    @Override
    public String getWord() {
        int index = rand.nextInt(wordlist.size());
        return wordlist.get(index);
    }

    @Override
    public String getName() {
        return "黄浩哲";
    }
}
